package com.hgx.alibab.consumer.order02.service;


import com.hgx.alibab.consumer.order02.entity.Payment;
import com.hgx.springcloud.common.entities.response.CommonResultResponse;
import org.springframework.stereotype.Component;

@Component
public class PaymentFeignFallbackHandler implements IPaymentFeignService {
    @Override
    public CommonResultResponse<Payment> getPayment(Integer id) {
        return new CommonResultResponse<>("4445","PaymentFeignFallbackHandler---",new Payment(id,"0000000"));
    }
}
